package com.ocom.common.request.wx;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserPageAddUserRequest extends CommonRequest{
    @Min(0L)
    @NotNull(message = "deptID 不能为空")
    Long deptId;
    @NotBlank(message = "userName 不能为空")
    String userName;
    @NotBlank(message = "telephone 不能为空")
    String telephone;
    @NotBlank(message = "identity 不能为空")
    String identity;
    @NotBlank(message = "pCode 不能为空")
    String pCode;
    @NotBlank(message = "pPhotoUrl 不能为空")
    private String pPhotoUrl;
}
